/**
 * Created by IntelliJ IDEA.
 * User: Egor
 * Date: 13.12.11
 * Time: 20:38
 * To change this template use File | Settings | File Templates.
 */
package org.electronic.registration.event {
import flash.events.Event;

import org.electronic.registration.bo.Doctor;

public class DoctorEvent extends Event {
    public static const DOCTOR_SELECTED:String = "DOCTOR_SELECTED";

    private var _doctor:Doctor;

    public function DoctorEvent(type:String, doctor:Doctor) {
        super(type, false, false);
        _doctor = doctor;
    }


    public function get doctor():Doctor {
        return _doctor;
    }

}
}
